﻿<%@ Page Title="大乐透走势图" Language="C#" MasterPageFile="~/APP_Master/MasterPage.master" AutoEventWireup="true" CodeFile="dltzhzs.aspx.cs" Inherits="dltzhzs" %>

<%@ Register Src="APP_Controls/Dianping.ascx" TagName="Dianping" TagPrefix="uc1" %>
<%@ Register Src="~/APP_Controls/dltZouShi.ascx" TagName="ZouShi" TagPrefix="uc2" %>
<%@ Register Src="APP_Controls/Friend.ascx" TagName="Friend" TagPrefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style>
        .zs_table table.zs_tt tr td div.t_03 {
            float: left;
            width: 90px;
            padding: 0 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <!--GreenNav-->
    <div class="nav_green">
        <div class="cookie">
            您现在所在位置：<a href="Default.aspx">首页</a> > 走势图 > 大乐透走势图
        </div>
        <ul class="g_nav">
            <li><a href="" class="g_cur">走势图表</a></li>
            <%--<li><a href="">杀号定胆</a></li>--%>
        </ul>
    </div>
    <!--GreenNav-->
    <h2 class="zoushi_t">大乐透走势图</h2>
    <!--Content-->
    <div class="zhoushi">
        <!--Title-->
        <div class="zhoushi_title">
            <div class="zs_t_box">
                选择：
            <asp:DropDownList ID="DropDownList1" runat="server">
                <asp:ListItem Value="30">最近30期</asp:ListItem>
                <asp:ListItem Value="10">最近10期</asp:ListItem>
                <asp:ListItem Value="20">最近20期</asp:ListItem>
                <asp:ListItem Value="50">最近50期</asp:ListItem>
                <asp:ListItem Value="80">最近80期</asp:ListItem>
                <asp:ListItem Value="100">最近100期</asp:ListItem>
                <asp:ListItem Value="150">最近150期</asp:ListItem>
                <asp:ListItem Value="200">最近200期</asp:ListItem>
                <asp:ListItem Value="2003">2003年</asp:ListItem>
                <asp:ListItem Value="2004">2004年</asp:ListItem>
                <asp:ListItem Value="2005">2005年</asp:ListItem>
                <asp:ListItem Value="2006">2006年</asp:ListItem>
                <asp:ListItem Value="2007">2007年</asp:ListItem>
                <asp:ListItem Value="2008">2008年</asp:ListItem>
                <asp:ListItem Value="2009">2009年</asp:ListItem>
                <asp:ListItem Value="2010">2010年</asp:ListItem>
                <asp:ListItem Value="2011">2011年</asp:ListItem>
                <asp:ListItem Value="2012">2012年</asp:ListItem>
                <asp:ListItem Value="2013">2013年</asp:ListItem>
                <asp:ListItem Value="2014">2014年</asp:ListItem>
                <asp:ListItem Value="2015">2015年</asp:ListItem>
                <asp:ListItem Value="2016">2016年</asp:ListItem>
            </asp:DropDownList>
            </div>
            <div class="zs_t_box">
                红球号码按
          <asp:DropDownList ID="DropDownList2" runat="server">
              <asp:ListItem>摇奖顺序</asp:ListItem>
          </asp:DropDownList>
            </div>
            <%--<div class="zs_t_box">
        红球走势按
          <asp:DropDownList ID="DropDownList3" runat="server">
            <asp:ListItem>11</asp:ListItem>
          </asp:DropDownList>
        </div>--%>
            <div class="zs_t_box">
                <%--列进行分区--%>
                <asp:Button ID="Button1" runat="server" Text="开始查看" class="red_link"
                    OnClick="Button1_Click" />
            </div>
        </div>
        <!--Title-->
        <!--Zoushi-->
        <div class="zs_table">
            <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_tt">
                <tr>
                    <td rowspan="2" class="w55">期号</td>
                    <td colspan="42">
                        <div class="t_01">开奖号码（前区奇数）</div>
                        <div class="t_02">开奖号码走势</div>
                        <div class="t_03">开奖号码分析</div>
                    </td>
                </tr>
                <tr>
                    <td class="w129">
                        <p>前区号码</p>
                        <p>（从小到大）</p>
                    </td>
                    <td width="50px">后  区</td>
                    <td class="w22">01</td>
                    <td class="w22">02</td>
                    <td class="w22">03</td>
                    <td class="w22">04</td>
                    <td class="w22">05</td>
                    <td class="w22">06</td>
                    <td class="w22">07</td>
                    <td class="w22">08</td>
                    <td class="w22">09</td>
                    <td class="w22">10</td>
                    <td class="w22">11</td>
                    <td class="w22">12</td>
                    <td class="w22">13</td>
                    <td class="w22">14</td>
                    <td class="w22">15</td>
                    <td class="w22">16</td>
                    <td class="w22">17</td>
                    <td class="w22">18</td>
                    <td class="w22">19</td>
                    <td class="w22">20</td>
                    <td class="w22">21</td>
                    <td class="w22">22</td>
                    <td class="w22">23</td>
                    <td class="w22">24</td>
                    <td class="w22">25</td>
                    <td class="w22">26</td>
                    <td class="w22">27</td>
                    <td class="w22">28</td>
                    <td class="w22">29</td>
                    <td class="w22">30</td>
                    <td class="w22">31</td>
                    <td class="w22">32</td>
                    <td class="w22">33</td>
                    <td class="w22">34</td>
                    <td class="w22">35</td>
                    <td class="w25">重 号</td>
                    <td class="w25">连 号</td>
                    <td class="w25">和 值</td>
                    <td>
                        <p>奇偶</p>
                        <p>比例</p>
                    </td>
                    <%--<td>
                        <p>三区</p>
                        <p>比例</p>
                    </td>--%>
                </tr>
            </table>
            <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
                <%if (arlist != null && arlist.Count > 0)
                    {
                        for (int i = 0; i < arlist.Count; i++)
                        {%>
                <tr>
                    <td class="b_bg w55"><%=arlist[i].LotteryQS%></td>
                    <td class="y_bg"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[0]%></td>
                    <td class="y_bg"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[1]%></span></td>
                    <td class="y_bg"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[2]%></td>
                    <td class="y_bg"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[3]%></span></td>
                    <td class="y_bg"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[4]%></td>
                    <td class="b_bg w25"><span class=" f_r"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[0]%></span></td>
                    <td class="b_bg w25"><%=arlist[i].LotteryNo.Split('+')[1].Split(',')[1]%></td>
                    <%for (int j = 0; j < 35; j++)
                        { %>
                    <td class="w22">
                        <%for (int m = 0; m < arlist[i].LotteryNo.Split('+')[0].Split(',').Length; m++)
                            {
                                if (Convert.ToInt16(arlist[i].LotteryNo.Split('+')[0].Split(',')[m]) == (j + 1))
                                {%>
                        <div class="r_bg"><%=arlist[i].LotteryNo.Split('+')[0].Split(',')[m]%></div>
                        <%}

                            }%>
                    </td>
                    <%} %>
                    <td class="w25 b_bg"><%=dtPaperList.Rows[i]["Chonghao"]%></td>
                    <td class="w25"><%=dtPaperList.Rows[i]["Lianhao"]%></td>
                    <td class="w25 b_bg "><%=dtPaperList.Rows[i]["Hezhi"]%></td>
                    <td class="w40"><%=dtPaperList.Rows[i]["Jioubi"]%></td>
                    <%-- <td class="b_bg"><%=dtPaperList.Rows[i]["Sanqubi"]%></td>--%>
                </tr>
                <%}
                    }%>
            </table>
            <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
                <tr>
                    <td rowspan="2" class="w60"></td>
                    <td rowspan="2" class="w_tj_120" style="width: 175px"><strong>统计</strong></td>
                    <%for (int i = 0; i < 35; i++)
                        { %>
                    <td <%if (i == 0)
                        {%>class="w22 h92"
                        <%}
                        else
                        { %>
                        class="w22" style="background: #ffffff;" <%} %>>
                        <%=TiaoxingDT[i]%><div class="zs_z_bg" style="height: <%=TiaoxingDT[i]*100/jinqiCount%>px;"></div>
                        <%--    <div class="zs_z_bg" style="height: <%=TiaoxingDT[i]*100/jinqiCount%>px;"></div>--%>
                    </td>
                    <%} %>
                    <td class="w25 b_bg">&nbsp;</td>
                    <td class="w25">&nbsp;</td>
                    <td class="w25 b_bg ">&nbsp;</td>
                    <td class="w40">&nbsp;</td>
                    <td class="b_bg">&nbsp;</td>
                </tr>
                <tr>
                    <td class="w22 red">01</td>
                    <td class="w22 red">02</td>
                    <td class="w22 red">03</td>
                    <td class="w22 red">04</td>
                    <td class="w22 red">05</td>
                    <td class="w22 red">06</td>
                    <td class="w22 red">07</td>
                    <td class="w22 red">08</td>
                    <td class="w22 red">09</td>
                    <td class="w22 red">10</td>
                    <td class="w22 red">11</td>
                    <td class="w22 red">12</td>
                    <td class="w22 red">13</td>
                    <td class="w22 red">14</td>
                    <td class="w22 red">15</td>
                    <td class="w22 red">16</td>
                    <td class="w22 red">17</td>
                    <td class="w22 red">18</td>
                    <td class="w22 red">19</td>
                    <td class="w22 red">20</td>
                    <td class="w22 red">21</td>
                    <td class="w22 red">22</td>
                    <td class="w22 red">23</td>
                    <td class="w22 red">24</td>
                    <td class="w22 red">25</td>
                    <td class="w22 red">26</td>
                    <td class="w22 red">27</td>
                    <td class="w22 red">28</td>
                    <td class="w22 red">29</td>
                    <td class="w22 red">30</td>
                    <td class="w22 red">31</td>
                    <td class="w22 red">32</td>
                    <td class="w22 red">33</td>
                    <td class="w22 red">34</td>
                    <td class="w22 red">35</td>
                    <td class="w25 b_bg">&nbsp;</td>
                    <td class="w25">&nbsp;</td>
                    <td class="w25 b_bg ">&nbsp;</td>
                    <td class="w40">&nbsp;</td>
                    <td class="b_bg">&nbsp;</td>
                </tr>
            </table>
        </div>
        <!--Zoushi-->
    </div>
    <div class="zs_infor"><%--说明：点击最后空行上的空格，可以帮助记录选号。--%></div>
    <!--Content-->
    <uc1:Dianping ID="Dianping1" runat="server" />
    <uc2:ZouShi ID="ZouShi1" runat="server" />
    <uc3:Friend ID="Friend1" runat="server" />
</asp:Content>

